﻿@model  ProgramaVista           
@{
    ViewBag.Title = "Instituciones";
    ViewBag.SubMenuSelected = "Programas";
    Layout = "~/Views/Shared/_MasterSGC.cshtml";
}
@section Scripts{
    @Content.Script("CbaGob.Alumnos.Programas.js", Url)
}
<div class="box">
    <h2>
        Agregar Programa</h2>
    <table align="center" style="width: 700px;">
        <tr>
            <td class="style1" style="font-weight: bold">
                <div id="titulo">
                </div>
                @using (Html.BeginForm("Agregar_Programa", "Programas", FormMethod.Post, new { Id = "FormularioProgramas" }))
                { 
                    @Html.ValidationSummary(true)
                    <br />
                    <table align="center" id="mytable" style="font-family: Arial, Helvetica, sans-serif;
                        font-size: 12px; width: 700px;">
                        <tr>
                            <td>
                                <fieldset style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; width: 690px;">
                                    <legend>Datos del Programas</legend>
                                    <table align="left" style="font-family: Arial, Helvetica, sans-serif; font-size: 12px;
                                        width: 690px;">
                                        <tr>
                                            <td align="left">
                                                <b>Nombre del Programa:</b>
                                            </td>
                                            <td align="left">
                                                @Html.TextBoxFor(c => c.NombrePrograma, new { style = "width:250px;", MaxLength = "64", Class = "asd" })
                                                @Html.ValidationMessageFor(m => m.NombrePrograma, "*")
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="left">
                                                <b>Nro Resolución:</b>
                                            </td>
                                            <td align="left">
                                                @Html.TextBoxFor(c => c.Nro_resolucion, new { style = "width:250px;", MaxLength = "64", Class = "asd" })
                                                @Html.ValidationMessageFor(m => m.Nro_resolucion, "*")
                                            </td>
                                        </tr>
                                    </table>
                                </fieldset>
                            </td>
                        </tr>
                    </table>
                  
    
                    <table id="btnfin" align="center" width="690px">
                        <tr>
                            <td align="right" valign="middle">
                                <input type="submit" value="Guardar" class="btnIngresar" />&nbsp;&nbsp;
                                @Html.ActionLink("Cancelar", "Index", "Programas", null, new { Class = "btnIngresar" })
                            </td>
                        </tr>
                    </table>

                }
            </td>
        </tr>
    </table>
</div>

